﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TGBTech.Core.Models.DanhMuc;

namespace TGBTech.Core.Models.Models.ChungTu
{
    [Table("CTHoaDon")]
    public class CTHoaDon
    {
        public int Id { get; set; }
        [Required]
        public int ChiTietHangHoaId { get; set; }
        public virtual ChiTietHangHoa ChiTietHangHoa { get; set; }
        [Required]
        public String DVT { get; set; }
        [Required]
        public int SoLuong { get; set; }
        [Required]
        public Decimal DonGia { get; set; }
    }
}
